from notice.models import Notice

__author__ = '侯志文'
from django import forms


class SearchForm(forms.Form):
    title = forms.CharField(required=False)


class NoticeForm(forms.ModelForm):
    class Meta:
        model = Notice
        fields = ['title', 'summary', 'content']
